package com.zf.shuashua.api;

import com.zf.shuashua.BuildConfig;

public class Constants {
    private static final String H5_URL_DEV = "http://changdou-h5-dev.kelai.tech/#/"; //H5链接
    //    private static final String H5_URL_DEV = "http://192.168.10.32:8088/#/"; //H5本地环境调试
//    private static final String H5_URL_DEV = "http://192.168.10.38:8088/#/"; //H5本地环境调试海龙
    public static String H5_URL = "https://h5.changdou.top/#/";

    static {
        if (BuildConfig.ENABLE_DEBUG) {
            H5_URL = H5_URL_DEV;
        }
    }

    //微信
    public static final String WX_APP_ID = "wxee489319322cd72d";
    public static final String WX_KEY = "473315465654bb1c87b05afe685ea49f";
    //微博
    public static final String WEIBO_APP_ID = "3195752022";
    public static final String WEIBO_KEY = "bcfeae828766b94c255ff2fb95bce5fb";
    public static final String REDIRECTURL = "https://api.weibo.com/oauth2/default.html";
    //QQ
    public static final String QQ_APP_ID = "1109974847";
    public static final String QQ_KEY = "eEeDPBtLieU73Uar";

    //友盟
    public static final String UM_KEY = "5e3bc3b8cb23d233bd000022";
    public static final String UM_MESSAGE_KEY = "4cf38b61f98fa56a54e0a2ee9634b157";//推送ken


    public static String H5_CD = "http://www.changdou.top/";//官网
    public static String H5_YYB = "https://a.app.qq.com/o/simple.jsp?pkgname=com.zf.shuashua&from=singlemessage";//应用宝下载链接

    //配置请求主机地址
    public static final String BASEURL = "https://api.changdou.top/api/";
    public static final String BASEURL_DEV = "https://changdou-admin-dev.kelai.tech/api/";

    public static String getBaseUrl() {
        if (BuildConfig.ENABLE_DEBUG) {
            return Constants.BASEURL_DEV;
        }
        return Constants.BASEURL;
    }

    // 广告
    public interface AD {
        int ad_item_type = 101;
    }


}
